﻿using System;

namespace Microsoft.Extensions.DependencyInjection
{
    public static partial class UnitOfWorkSqlServerServiceCollectionExtensions
    {
        private class DefaultUnitOfWorkSqlServerBuilder : IUnitOfWorkSqlServerBuilder
        {
            public DefaultUnitOfWorkSqlServerBuilder(IUnitOfWorkBuilder unitOfWorkBuilder ) => UnitOfWorkBuilder = unitOfWorkBuilder;
            public IUnitOfWorkBuilder UnitOfWorkBuilder { get; private set; }
            public IServiceProvider Build() => UnitOfWorkBuilder.Build();
        }
    }
}
